export type PModalProps = {
  saveBtnText?: string;
  closable?: boolean;
  preset?: "dialog" | "card";
  title?: string;
  onSave?: () => Promise<boolean> | boolean;
  onClose?: () => Promise<boolean> | boolean;
};

export type PModalMethods = {
  open: () => void;
  close: () => void;
};
